body {
    margin: 0;
    padding: 0;
}


/*页面按钮*/
.btn-style{
    transition: 0.7s;
    width: 100%;
    height: 13%;
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: transparent;
    border-top: none;
    border-bottom: #ff6baa dashed 2px;
    border-left: none;
    border-right: none;
    border-radius: 15px;
    font-size: 30px;
    font-family:"STKaiti";
}
.btn-style:hover{
    transition: 0.7s;
    background-color: #fff682;
}
.btn-style.active {
    background-color: pink;
    border-color: #ffd700;
    transform: scale(1.05);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.page-btn{
    font-family:'STKaiti';
}
.page-info{
    font-family:'STKaiti';
}

 /*歌曲搜索框*/
#search{
    width: 60%;
    height: 50px;
    border-radius: 15px;
    margin-left: 10px;
    margin-top: 10px;
    float: left
}

/*歌曲搜索按钮*/
#search-btn{
    transition: 0.7s;
    width: 30%;
    height: 40px;
    border-radius: 15px;
    margin-left: 10px;

}
#search-btn:hover{
    transition: 0.7s;
    background-color: red;
}

/*南丁格尔图背景图*/
.pie-style{
    background-image: url("/img/musicLogo.png");
    background-repeat: no-repeat;
    background-size: 10%;
    background-position: 79% 50%;
}

/*hot------*/
/*ranking*/
.ranking-parent{
    position: relative; /* 父元素设置相对定位作为参考 */
    width: 40%;
    height: 300px;
    float: left;
    background: url("/img/ranking.jpg") no-repeat;
    background-position: 50% 100%;
    background-size: 80% 40%;
    /*display: flex;*/
    /*flex-direction: column; !* 垂直方向排列 *!*/
}
.ranking-No1{
    position: absolute; /* 绝对定位 */
    /*border:red solid;*/
    width: 25%;
    height: 110px;
    left: 37%;
    top: 50px;
    border-radius: 50%; /* 核心属性，实现圆形 */
    object-fit: cover; /* 处理图片比例，避免拉伸 */
    border: 1px solid yellow; /* 可选：添加边框 */
}
.ranking-No2{
    position: absolute; /* 绝对定位 */
    /*border:red solid;*/
    width: 25%;
    height: 110px;
    left: 10%;
    top: 100px;
    border-radius: 50%; /* 核心属性，实现圆形 */
    object-fit: cover; /* 处理图片比例，避免拉伸 */
    border: 1px solid #42b983; /* 可选：添加边框 */
}
.ranking-No3{
    position: absolute; /* 绝对定位 */
    /*border:red solid;*/
    width: 25%;
    height: 110px;
    left: 65%;
    top: 110px;
    border-radius: 50%; /* 核心属性，实现圆形 */
    object-fit: cover; /* 处理图片比例，避免拉伸 */
    border: 1px solid blue; /* 可选：添加边框 */
}
.ranking-No1-text{
    /*position: absolute; !* 绝对定位 *!*/
    /*border:red solid;*/
    font-size: 30px;
    left: 40%;
    margin-top: 0;
    font-family:"STKaiti";
    font-weight: bold;
    color: red;
    text-align: center;

}
.ranking-No2-text{
    position: absolute; /* 绝对定位 */
    /*border:red solid;*/
    left: 12%;
    top: 30px;
    font-size: 30px;
    font-family:"STKaiti";
    font-weight: bold;
    color: #ff9900;
}
.ranking-No3-text{
    position: absolute; /* 绝对定位 */
    /*border:red solid;*/
    left: 67%;
    top: 40px;
    font-size: 30px;
    font-family:"STKaiti";
    font-weight: bold;
    color: #ffdd00;
}
/*Line*/
.container-style{
    width: 60%;
    height: 300px;
    margin-left: 40%
}
.line-style{
    width: 100%;
    height: 100%;
}
.singer-input-style{
    font-family:"STKaiti";
    color: #ff9900;
}
.btnDiv-style{
    float: left;
}
.search-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
}
.search-btn{
    background-color: transparent;
    border-color: turquoise;
    border-radius:15px;
    transition: 0.5s;
    font-family:'STKaiti';
}
.search-btn:hover{
    transition: 0.5s;
    background-color: red;
}
.search-input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.search-input:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.loading-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    display: none;
}

.suggestions-list {
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    background: white;
    border: 1px solid #ddd;
    border-radius: 0 0 8px 8px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: none;
}

.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.15s;
}

.suggestion-item:hover, .suggestion-item.active {
    background-color: #edf2f7;
}

.highlight {
    color: #2b6cb0;
    font-weight: 600;
}

.no-results {
    padding: 12px 16px;
    color: #718096;
}

.error-message {
    padding: 12px 16px;
    color: #e53e3e;
}

.debug-info {
    max-width: 500px;
    margin: 20px auto;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
}
/*--------*/


/*div{*/
/*    border:red solid;*/
/*}*/